home *** CD-ROM | disk | FTP | other *** search
/ 17 Bit Software 6: Level 6 / 17 Bit - Level 6 (1998)(Epic Marketing)[!].iso / quartz / q1082.dms / q1082.adf / src.lzh / Fig / fig.h < prev    next >
C/C++ Source or Header  |  1991-07-18  |  1KB  |  77 lines

  1. /* 
  2.  *    FIG : Facility for Interactive Generation of figures
  3.  *
  4.  *    Copyright (c) 1985 by Supoj Sutanthavibul (supoj@sally.UTEXAS.EDU)
  5.  *    January 1985.
  6.  *    1st revision : Aug 1985.
  7.  *
  8.  *    %W%    %G%
  9. */
  10. #ifndef    X11
  11.  
  12. #ifdef AMIGA
  13. /*#include "stdio.h"*/
  14. #undef GLOBAL_DATA
  15. struct timelength{
  16.  int tv_sec;
  17.  int tv_usec;};
  18.  
  19. struct itimerval{
  20.  struct timelength it_interval;
  21.  struct timelength it_value;};
  22.  
  23. /*typedef void * caddr_t;*/
  24. typedef unsigned int u_int;
  25.  
  26. #else
  27. #include <sys/types.h>
  28. #include <sys/file.h>
  29. #include <sys/time.h>
  30. #endif
  31.  
  32. #else
  33.  
  34. #include <X11/Xos.h>
  35.  
  36. #endif
  37.  
  38. /*#include <sys/types.h>*/
  39. /*#include <sys/stat.h>*/
  40. /*#include <fcntl.h>*/
  41. /*#include <pwd.h>*/
  42. /*#include <signal.h>*/
  43.  
  44. /*#include <stdio.h>*/
  45. /*#include <ctype.h>*/
  46. /*#include <errno.h>*/
  47. /*#include <math.h>*/
  48.  
  49. #ifndef M_PI
  50. #define M_PI    3.14159265358979323846
  51. #define M_PI_2  1.57079632679489661923
  52. #endif
  53.  
  54. #ifndef    X11
  55.  
  56. #ifdef AMIGA
  57.  
  58. #else
  59. #include <suntool/tool_hs.h>
  60. #include <suntool/wmgr.h>
  61. #include <suntool/menu.h>
  62. #endif
  63. #else
  64.  
  65. #include <X11/Xlib.h>
  66. #include <X11/cursorfont.h>
  67. #include <X11/Intrinsic.h>
  68. #include <X11/StringDefs.h>
  69. #include <X11/Shell.h>
  70. #include <X11/Command.h>
  71. #include <X11/Label.h>
  72. #include <X11/Dialog.h>
  73. #include <X11/Box.h>
  74. #include <X11/Form.h>
  75.  
  76. #endif    X11
  77.